package cn.young.javalearning.designpattern.factorypattern.f_factorymethod;

import cn.young.javalearning.designpattern.factorypattern.bean.f_bean.Fruit;
import cn.young.javalearning.designpattern.factorypattern.bean.f_bean.Orange;

public class OrangeMethodFactoryBean implements FruitMethodFactory {
    @Override
    public Fruit produceFruit(Class clazz) {
        return new Orange();
    }

}
